import {AxiosRequestConfig, AxiosResponse} from "axios"

/**
 * 生成请求方法的工具函数的返回值类型
 */
export type GenReqUtilReturnType = (
  props: {
    url: string,
    data?: Record<string, any>,
    config?: AxiosRequestConfig<any>
  }
) => Promise<AxiosResponse<any>>
